package cn.hnwlgc.mapper;

import cn.hnwlgc.pojo.Post;
import cn.hnwlgc.pojo.PostDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PostMapper {

    void insert(Post post);

    List<PostDto> listDto();
}
